package com.lv.test;

import org.junit.After;
import org.junit.Before;
import org.junit.Test;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by lvjilei on 2018/4/12.
 */
public class MyTestCass {

    @Before
    public void before(){
        System.out.println("before");
    }

    @After
    public void after(){
        System.out.println("after");
    }


    @Test
    public void myTestMethod1(){
        System.out.println("testMethod1");
    }


    @Test
    public void myTestMethod2(){
        System.out.println("testMethod2");
    }

    @Test
    public void myTestMethod3(){
        List<String> list = new ArrayList<>(3);
        list.add("1");
        list.add("2");
        System.out.println(list.size());
    }


}
